package com.food.admin.exception.accountException;


import com.food.admin.exception.foodAdminException;
import com.food.admin.exception.productsTypeException.ProductsTypeExceptionCode;

public class AccountException extends foodAdminException {
    public AccountException(Integer code, String message) {
        super(code, message);
    }
    public AccountException(AccountExceptionCode accountExceptionCode){
        super(accountExceptionCode.getCode(),accountExceptionCode.getMessage());
    }
}
